<template>
	<div class="container">
		<navigationBar title="简介"></navigationBar>
		<div class="content" :style="'padding-top: ' + (navigationBarHeight-1) + 'px;'">
			<div class="textarea-wrap">
				<textarea maxlength="500" v-model="userInfo.introduction"
					placeholder-style="color:#bcbcbc;padding:0;font-size:28rpx" placeholder="请填写简介" />
			</div>
			<div class="bottom">
				<div class="btn" @click="submit">提交</div>
			</div>
		</div>
	</div>
</template>

<script>
	import data from '@/js/my/introduction/data.js';
	import methods from '@/js/my/introduction/methods.js';
	import {
		mapState
	} from 'vuex';
	import navigationBar from '../../components/navigationBar.vue';
	export default {
		data,
		methods,
		onLoad() {

		},
		onShow() {},
		onHide() {},
		components: {
			navigationBar
		},
		computed: {
			...mapState(['navigationBarHeight', 'userInfo'])
		}
	};
</script>
<style scoped lang="scss">
	@import '~@/style/my/introduction.scss';
</style>